/**ducument cart css**/
/**公共部分**/
*{
    margin: 0px;
    padding:0px;
}
a{
    text-decoration: none;
}
ul li{
    list-style: none;
}


/****头部固定位置******/
#header_fixed{
    width: 100%px;
    height: 20px;
    background: #000;
}
/****头部区域开始*****/
#header{
    width: 100%;
    height: 100px;
    .header_content{
        width: 980px;
        height: 100px;
        margin: 0 auto;
        position: relative;
        .logo{
            width: 460px;
            height: 100px;
            position: absolute;
            left:100px;
            top:0px;
            img{
                width:460px;
                height:100px;
            }
        }
        .login{
            width:210px;
            height: 70px;
            position: absolute;
            right: 0px;
            top:0px;
            a{
                display: block;
                width:60px;
                height:70px;
                float: left;
                margin-left:10px;
                background: url(../images/icons.png) -5px -121px;
                text-align: center;
                font:400 12px/60px '微软雅黑';
                color:#000000;
                span{
                    display:block;
                    width:40px;
                    height: 40px;
                    margin: 10px auto;
                    background: url(../images/icons.png) -3px -2px;
                }
                &:hover span{
                    background: url(../images/icons.png) -126px -2px;
                }
            }
        }
        //已登录
       .logined{
           width:400px;
           height: 55px;
           position:absolute;
//         background: orange;
           top:20px;
           right:0px;
           a{
               display:block;
               float: right;
               padding-left:20px;
               font:400 16px/50px '微软雅黑';
               color:#333;
           }
           span{
               color:red;
           }
           .face{
               width:50px;
               height:50px;
               img{
                   width:100%;
                   height:100%;
                   border-radius:25px;
               }
           }
       }
    }
}


/**
     * 菜单栏
 */
#nav{
    width:100%;
    height:54px;
    .nav_content{
        width:980px;
        height:54px;
        margin:0 auto;
        position:relative;
        a{
            display:block;
            font:700 16px/54px '微软雅黑';
            color:#000;
            float:left;
            padding:0px 5px;
            margin-right:30px;
        }
        .search{
            width:235px;
            height:30px;
            position:absolute;
            top:10px;
            right:100px;
            background:url(../images/ico.png) 0px -2144px;
            form{
               .text{
                   display:block;
                   position: absolute;
                   border: none;
                   top: 6px;
                   left: 10px;
                   width:170px;      
                }
                .sbt{
                    display:block;
                    position: absolute;
                    top:6px;
                    right:0px;
                    width:45px;
                    border:none;
                    background:url(../images/ico.png) 8px -2193px;
                } 
            }
            
        }
    }
    
}

/********************************cart******************************/
#container{
    width:980px;
    margin: 30px auto;
    .cart{
       width: 980px;
       .c_title{
           width: 980px;
           height: 50px;
           h2{
               font:700 25px/30px '微软雅黑';
               float:left;
           }
           .cart_ico{
               display:block;
               float:left;
               width: 41px;
               height: 30px;
               margin-right:30px;
               background:url(../images/cart_ico.png) no-repeat 0px 5px;
           }
       }
       /*表格样式**/
       .c_cont{
           width:980px;
           font:400 16px/30px '微软雅黑';
           h3{
              font:400 16px/30px '微软雅黑';
              display:inline-block;
              position: absolute;
              top: 8px;
              left:50px;
           }
           /**表格大小和边框**/
           table{
               border-collapse: collapse;
           }
           tbody td{
               padding:50px 0px;
           }
           table,tr{
               border: 1px solid #E6E7E8;
           }
           /**表格大小和边框end**/
           td.hd,.t_numb,.t_price,.t_delete{
               text-align: center;
           }
           td.s_all{
               position: relative;
           }
           span.selectall{
               display: inline-block;
               width: 24px;
               height:24px;
               background:url(../images/select.png) no-repeat;
               margin:10px 20px 0px 10px;
           }
           
           /**tbody样式**/
           span.select{
               display: inline-block;
               width: 24px;
               height:24px;
               background:url(../images/select.png) no-repeat;
               margin:10px 20px 40px 10px;
               
           }
           span.g_selected{
              display: inline-block;
               width: 24px;
               height:24px;     
               background: url(../images/g_selected.png) no-repeat;

            }
           img{
               display: inline-block;
               width:106px;
               height:106px;
               background: red;
           }
           a{   
               
               font:400 14px/22px '微软雅黑';
           }
           .g_infor1,.g_infor2{
               padding: 10px;
               a{
                   color: #222;
               }
           }
           td.t_numb{
               padding: 20px;
           }
          .reduce,.add{
              display: inline-block;
              width:30px;
              height: 30px;
//            padding: 8px;
              border: none;
              cursor: pointer;
              background: #FFF;
              font: 700 16px/28px '微软雅黑';
              border-radius:30px;
              color: #222;
              &:hover{
                  background: #000;
                  color: #FFF;
              }
          }
          .numb{
              width:40px;
              height: 30px;
              border: 2px solid #222222;
              border-radius: 5px;
              font: 700 16px/30px '微软雅黑';
          }
          .price{
              font:700 18px/30px '微软雅黑';
          }
          a.delete{
              color:#222;
              &:hover{
                  color:#D8BFAA;
              }
          }
       }
       
    }
    /********总计部分*****/
   .total{
       width:980px;
       height: 50px;
       margin-top:80px;
       border-bottom: 4px solid #000000;
       position: relative;
       font:400px 20px/22px '微软雅黑';
       .s_all_ico{
           display:block;
           width: 24px;
           height: 24px;
           background: url(../images/select.png) no-repeat;
           position: absolute;
           top:20px;
           left:0px;
       }
       span.g_selected{
              display: inline-block;
               width: 24px;
               height:24px;     
               background: url(../images/g_selected.png) no-repeat;
               position: absolute;
               top:20px;
               left:0px;
            }
       .s_all_i{
           position: absolute;
           top: 20px;
           left:30px;
           font:700 20px/22px '微软雅黑';
       }
       
       .del{
           position: absolute;
           top:20px;
           left: 100px;
           font:400 20px/22px '微软雅黑';
           color:#666666;
       }
       .g_sel{
           position: absolute;
           top:20px;
           left: 400px;
           font:400 20px/22px '微软雅黑';
           .g_s_n{
               color:#C20000;
           }
       }
       .total_p{
           position: absolute;
           top:20px;
           right:40px;
           font:400 20px/22px '微软雅黑';
           .s_price{
               font-size: 22px;
               color:#C20000;
           }
       }
       .t_bg{
           display: block;
           width:22px;
           height: 22px;
           background: url(../images/total.png) no-repeat;
           position: absolute;
           right: 0px;
           bottom: -4px;
       }
   }
   
   /******购物车结算******/
  .confirm{
      width: 980px;
      height: 80px;
      margin:100px 0px;
      input.c_sbt{
          width: 210px;
          height: 75px;
          border:3px solid #000000;
          border-radius: 15px;
          box-shadow: 10px 10px 0px #000000;
          background: #FFF;
          float:right;
          margin-right: 20px;
          font:700 25px/70px '微软雅黑';
          cursor:pointer;
      }
  }
}




/*****************************************网站底部*******************************/

#footer{
    width:100%;
    height:255px;
    background:#000000;
    .foot_wrap{
        width: 980px;
        height:255px;
        margin:0 auto;
        .say{
            width:675px;
            height:115px;
            float:left;
            .p1{
                font:400 18px/80px '微软雅黑';
                color:#FFF;
            }
            .p2{
                font:400 16px/50px '微软雅黑';
                color:#FFF;
                text-align:right;
            }
        }
        .foot-logo{
            width:220px;
            height:200px;
            float:left;
        }
        p.infor{
            float:left;
            width:980px;
            height:30px;
            border-bottom:1px solid #666;
            margin-top:30px;
            font:400 12px/22px '微软雅黑';
//          text-align:center;
            color:#666;
            a{
                color:#666;
            }
        }
        p.link{
            float:left;
            font:400 12px/22px '微软雅黑'; 
            color:#666;
        }
    }
    
}



/***
 * 网站底部end
 */

